package com.example.qy137login.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: qy137-login
 * @description: 员工实体类
 * @author: 王子鑫
 * @create: 2021-08-27 18:09
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "t_staff")
public class Staff implements Serializable {
    //员工id
    @TableId
    private Integer sid;
    //员工姓名
    private String sname;
    //员工姓名
    private String ssex;
    //员工年龄
    private Integer sage;
    //入职日期
    private Date intime;
    //员工状态
    private Integer sstatus;
    //员工账号
    private String username;
    //员工密码
    private String password;
    //员工地址
    private String address;
    //员工电话
    private String tel;
    //权限id
    private Integer rid;
    //离职日期
    private Date outtime;
    //部门id
    private Integer deid;
    //分店id
    private Integer storeid;
    //身份证号
    private String idcard;
    //员工头像图片上传路径
    private String url;
}
